package com.akjava.vocaloidtools.wavtovsq;

import jp.sourceforge.akjrcp.akj_betas.Messages;
import jp.sourceforge.akjrcp.ui.GenericParameters;
import jp.sourceforge.akjrcp.ui.param.AbstractGenericParamViewComposite;

import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.swt.widgets.Composite;

public class WavToVSQSettingList extends AbstractGenericParamViewComposite{



	public WavToVSQSettingList(Composite parent, int style, String key,IPreferenceStore preferenceStore) {
		super(parent, style, key);
		setPreferenceStore(preferenceStore);
	}

	public static GenericParameters newGenericParameters(){
		GenericParameters parameters=new GenericParameters();
		//parameters.set("vocaloid1", "");
		parameters.set("set_pitch", "1");
		parameters.set("pitch_detail", "1");
		parameters.set("velocity_detail", "1");
		parameters.set("averageLevel", "2");
		parameters.set("finalPitchAverageLevel", "40");
		parameters.set("dynamics_averageLevel", "60");
		parameters.set("max_pitch", "1000");
		parameters.set("min_pitch", "80");
		parameters.set("ignore_offset", "1");
		parameters.set("force_intsert", "1");
		parameters.set("strech_time", "10");
		parameters.set("min_volume", "10.0");
		parameters.set("nopitch_mode", Messages.getString("wav2midi.nopitch_major"));
		parameters.set("nopitch_mode_alternative", Messages.getString("wav2midi.nopitch_major"));
		parameters.set("bendSens", "8");
		parameters.set("note_shift", "0");
		parameters.set("default_pitch", "48.0");
		//parameters.set("roundPitch", "");
		parameters.set("preMeasure", "1");
		parameters.set("smoothLevel", "4");
		parameters.set("fixed_breath_dynamics", "1");
		parameters.set("fixed_breath_dynamics_value", "48");
		//parameters.set("double_breath_track", "");
		parameters.set("split_breath_track", "1");
		//parameters.set("copy_as_breath_track", "");
		parameters.set("copy_as_breath_phonetics", "br4");
		parameters.set("copy_as_breath_phonetics2", "br5");
		parameters.set("auto_nn_phonetics", "1");
		parameters.set("dynamic_overdrive", "+4 95%");
		parameters.set("filter_code", "");
		parameters.set("filter_up", "");
		parameters.set("filter_down", "");
		parameters.set("up_mixer", "-20.0");
		parameters.set("down_mixer", "-20.0");
		//parameters.set("make_stereo", "");
		parameters.set("stereo_mixer", "-8.0");
		parameters.set("stereo_pan", "48");
		
		parameters.set("voice_setting", Messages.getString("wav2vsq.default"));
		return parameters;
	}
	public GenericParameters makeDefaultGenericParameters() {
		return newGenericParameters();
	}


}
